gold.lang.require('gold.framework.TestRunner');
gold.lang.require('gold.framework.Assert');

gold.event.onload(function(){
	gold.TestRunner.add('Gold Test', {
		testVersionIsSet: function() {
			gold.assert(gold.version).equals(0.1);
		}
	});

	var tests = [
		'test.lang.RequireTest',
		'test.lang.NameSpaceTest',
		'test.framework.AssertTest',
		'test.framework.TestRunnerTest',
		'test.framework.TestRunnerContextTest',
		'test.logger.ConsoleLoggerTest',
		'test.logger.HtmlLoggerTest',
		'test.logger.LogFactoryTest',
		'test.util.TypeCheckerTest'
	];

	for (var i = 0; i < tests.length; i++) {
		gold.lang.require(tests[i]);
	}
	
	gold.TestRunner.run();
});